-- GENERATED SPELL FOR [Lordaeron Captain] --


function spell0_32414(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32414', 633, 1)
end

function Sorts_32414(pUnit, Event)
local choix_sorts_32414 = math.random(0, 0)
if choix_sorts_32414 == 0 then
pUnit:RegisterEvent('spell0_32414', 1, 1)
end
end

function mob32414_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32414', math.random(1500, 3000), 1)
end

function mob32414_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32414_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32414_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32414, 1, 'mob32414_Action')
RegisterUnitEvent(32414, 2, 'mob32414_Leave')
RegisterUnitEvent(32414, 3, 'mob32414_Kill')
RegisterUnitEvent(32414, 4, 'mob32414_Die')
